home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10306 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: hermes.is.co.za!news
  2. From: Abdul Rehman Gani <abdulg@eastcoast.co.za>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: BC++ 4.5: 16 & 32-bit targets, single source- possible?
  5. Date: Thu, 07 Mar 1996 16:57:43 +0100
  6. Organization: East Coast Access
  7. Message-ID: <313F0777.DC9@eastcoast.co.za>
  8. References: <4hknmp$mu9@nnrp1.news.primenet.com>
  9. NNTP-Posting-Host: 196.14.167.3
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win95; I)
  14.  
  15. Bill Keeler wrote:
  16. > I am using BC++ 4.52, and am developing for Win 16 & 32.  I want to be able to
  17. > compile my source for both platforms within a single project.  I am trying to
  18. > do this within the IDE.  I know that there's a way to recompile the source
  19. > at will in a makefile.
  20. > The problem is that when the first (16-bit) target is created, the .obj files
  21. > are 16-bit records, then when it's time to create the second (32-bit) target,
  22. > the maker sees that the obj file is up-to-date, and then the linker complains
  23. > about 16-bit records when trying to create a 32-bit target.
  24. > Is there a solution other than manually builing this each time, or using
  25. > command-line tools?
  26.  
  27. How about specifying different locations for the 16- and 32-bit object 
  28. files...
  29.  
  30. Abdul
  31.